const dotenv = require('dotenv');
const fs = require('fs');
const path = require("path");
dotenv.config();

const private_key = fs.readFileSync(path.resolve(__dirname,'./keys/private.key'),'utf8');
const public_key = fs.readFileSync(path.resolve(__dirname,'./keys/public.key'),'utf8');
module.exports ={
  app_port: process.env.app_port,
  mysql_host: process.env.mysql_host,
  mysql_user: process.env.mysql_user,
  mysql_password: process.env.mysql_password,
  mysql_database: process.env.mysql_database,
  mysql_port: process.env.mysql_port,
  app_host: process.env.app_host,
}
module.exports.private_key = private_key;
module.exports.public_key = public_key;